#-*-coding:utf-8-*-
import sys
[print ''.join(reversed(sys.argv[1:]))]
